<?php
namespace Tbf\Bundle\YntAuthBundle;
use Tbf\Bundle\YntAuthBundle\Model\LoginRequest;
use Tbf\Bundle\YntAuthBundle\Model\ShareRequest;

interface MediaImpInterface {
    /**
     * @param LoginRequest $login_request
     * @return \Symfony\Component\HttpFoundation\Response
     */
    function login(LoginRequest $login_request);
    /**
     * @param string $transaction_id
     * @return \Tbf\Bundle\YntAuthBundle\Model\User
     * @return error
     * func(transaction_id string)(User,error)
     */
    function getCurrentUserInfo($transaction_id);
    /**
     * @param ShareRequest $share_request
     * @return error
     */
    function share(ShareRequest $share_request);
    /**
     * @return string
     */
    function getName();
}